extends NinePatchRect

class_name MonsterGroup

var cards: Array


func getShadowPos(i) -> Vector2:
	return get_child(i).position


func addCard(card, i):
	card.position = getShadowPos(i)
	
	print(card.position)
	
	cards.append(card)
	add_child(card)

func removeCard(card):
	cards.erase(card)
